package shiqi.chain.version2;

import lombok.Data;

/**
 * @author shiqi
 * @version 1.0.0
 * @ClassName Pipeline.java
 * @Description
 * @createTime 2022-05-20
 */
public class Pipeline<I, O, C> {

    private I i;
    private O o;
    private C c;

    public void setRequest(I i) {
        this.i = i;
    }

    public I getRequest() {
        return this.i;
    }

    public void setResponse(O o) {
        this.o = o;
    }

    public O getResponse() {
        return this.o;
    }

    public void setContext(C c) {
        this.c = c;
    }

    public C getContext() {
        return this.c;
    }

    public static void main(String[] args) {
        Pipeline<String, String, String> stringPipeline = new Pipeline<>();
    }
}
